#include <iostream>
#include <string>
using std::string;

int main()
{
    string line;
    while(getline(std::cin, line))
    {
        if (line.size()>10)
        { 
            std::cout<<line<<std::endl
                <<line.size()<<std::endl;
            
        }
    }
    for (auto c : line)
        std::cout<<c<<std::endl;
    
    return 0;

}
